package com.wondedDream.service;

import com.wondedDream.model.CourseCategory;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CourseCategoryService {
    CourseCategory saveCourseCategory(CourseCategory category);
    CourseCategory getCourseCategoryById(Integer id);
    List<CourseCategory> getAllCourseCategories();

    void deleteCourseCategory(Integer id);

    CourseCategory updateCourseCategory(CourseCategory category);
}